TryResolve<T>(IPdfRef,T,Boolean,Boolean) Method
In This Topic
Tries to resolve the reference and return the IPdfObject of the specified type referenced by this IPdfRef.
Syntax
'Declaration
Public Overloads Shared Function TryResolve(Of As IPdfObject)( _
ByVal As IPdfRef, _
ByRef As , _
ByRef As System.Boolean, _
ByVal As System.Boolean _
) As System.Boolean
public static System.bool TryResolve<>(
IPdfRef ,
out ,
out System.bool ,
System.bool
)
where T: IPdfObject
Parameters
- pr
- The current IPdfRef.
- value
- OUT: The referenced PDF indirect object.
- isNull
- OUT: Indicates whether the referenced value is IPdfNull.
- addWarning
- Indicates whether to add a warning if the reference cannot be resolved to an object of the specified type.
Type Parameters
- T
- The type of the indirect PDF object.
Return Value
true if successful, false otherwise.
See Also